package com.mpp.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mpp.admin.entity.Column;
import com.mpp.admin.entity.Table;

import java.util.List;

/**
 * @author mapp
 * @des
 * @date 2019/3/13
 */
public interface GeneratorService {

    Page<Table> tableList(Page page, String dataBaseName);

    /**
     * 获取colmuns，并进行类型，属性名称转换
     * @param dataBaseName
     * @param tableName
     * @return
     */
    List<Column> columneList(String dataBaseName, String tableName);
}
